#ifndef DIALOGFILTER_H
#define DIALOGFILTER_H

#include <QComboBox>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLabel>
#include <QDialog>
#include <QSet>
#include "llCombobox2.h"
#include "pcrState.h"


// 筛选弹窗
class DialogFilter : public QDialog
{
    Q_OBJECT
public:
    DialogFilter(QWidget * parent=nullptr);
    void init(PCRState* state);

public slots:
    void on_yesClicked();
    void on_noClicked();


private:

    PCRState*       pState;

    QVBoxLayout*    _layout;
    QHBoxLayout*    _layout_hole;
    QHBoxLayout*    _layout_name;
    QHBoxLayout*    _layout_type;
    QHBoxLayout*    _layout_button;

    QPushButton*    _button_yes;
    QPushButton*    _button_no;
public:
    LLComboBox2*                 _lcBox_hole;
    LLComboBox2*                 _lcBox_name;
    LLComboBox2*                 _lcBox_type;

};

#endif // DIALOGFILTER_H
